const homepage = () => import(/* webpackChunkName: "cardb" */'@/containers/homepage/HomePage.vue');

const CreatAPool = () => import(/* webpackChunkName: "cardb" */'@/containers/officialPublication/CreatAPool.vue');
const Products = () => import(/* webpackChunkName: "cardb" */'@/containers/officialPublication/Products.vue');
const Extract = () => import(/* webpackChunkName: "cardb" */'@/containers/officialPublication/Extract.vue');


const NotFoundContainer = r => require.ensure([], () => r(require('@/containers/NotFoundContainer.vue')), '404')

export default [
    {
        path: '/',
        redirect:'/home'
    },
    {   path: '/home',
        name: `home`,
        component: homepage,//首页
        meta: { requiresAuth: false, keepAlive: false }
    },
    {
        path: '/CreatAPool',
        name: `CreatAPool`,
        component: CreatAPool,
        meta: { requiresAuth: false, keepAlive: false }
    },
    {
        path: '/Products',
        name: `Products`,
        component: Products,
        meta: { requiresAuth: false, keepAlive: false }
    },
    {
        path: '/Extract',
        name: `Extract`,
        component: Extract,
        meta: { requiresAuth: false, keepAlive: false }
    },
    { path: '/404', component: NotFoundContainer },
    { path: '*', component: NotFoundContainer },
]
